CRPEPrintOptions

This structure contains print options for a report and is used by CRPEJob::SetPrintOptions.

Data Members

Each data member is set by the corresponding constructor parameter unless otherwise noted.

Member Type Default Description

m_startPageN

unsigned short

0

Specifies the first page that you want to print. Parameter is 1-based. Use 0 to preserve the existing setting.

m_stopPageN

unsigned short

0

Specifies the last page that you want to print. Parameter is 1-based. Use 0 to preserve the existing setting.

m_nReportCopies

unsigned short

0

Specifies the number of copies that you want to print. Parameter is 1-based. Use 0 to preserve the existing setting.

m_collation

unsigned short

PEP_
DEFAULT
COLLATION

Indicates whether you want the copies of the report to be collated (if you are printing multiple copies of a multiple page report). Uses one of the following constants.


Constant Description


PEP_UNCOLLATED

Page order = 1, 1, 1,...; 2, 2, 2,...; 3, 3, 3,...; etc.


PEP_COLLATED

Page order = 1, 2, 3,...; 1, 2, 3,...; 1, 2, 3,...; etc.


PEP_DEFAULTCOLLATION

Use the collation settings specified in the report.

Member Type Default Description

m_outputFileName

_TCHAR

'\0'

Specifies the output file name.

Constructor CRPEPrintOptions::CRPEPrintOptions

This constructs a CRPEPrintOptions structure object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.

Constructor Syntax (Default)

CRPEPrintOptions ();

Constructor Syntax
CRPEPrintOptions (
        unsigned short startPageN,
        unsigned short stopPageN,
        unsigned short nReportCopies,
        unsigned short collation,
        _TCHAR *outputFileName );


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com